package com.jctrip.hotel.source.model;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.function.Function;

/**
 * 下单价格校验参数
 */
@Data
@Builder
public class PriceCheckParam {

    //下单金额
    private BigDecimal totalRate;
    //容差金额
    private BigDecimal tolerancePrice;
    //溢价函数
    private Function<BigDecimal, BigDecimal> raiseFunc;
}
